//
//  MapLocationSimple.h
//  carcareIOS
//
//  Created by ileo on 15/7/17.
//  Copyright (c) 2015年 baozun. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MapHelper.h"
#import "LocAnnotationView.h"

@interface MapLocationSimple : NSObject<MAMapViewDelegate>

@property (nonatomic, strong) MAMapView *mapView;
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;

@property (nonatomic, strong) UIImage *locImage;
@property (nonatomic, assign) CGPoint locCenterOffset;

@property (nonatomic, strong) UIView *calloutView;
@property (nonatomic, copy) void (^CalloutViewUpdate)(UIView * calloutView,id<MAAnnotation> annotation);

-(void)showLocation;

//地图被单击的时候  返回 事件
@property (nonatomic , copy) void (^mapDidTouch)();

@end